﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace MainFrmTool.ToolBox
{
    public static class ToolBoxDraw
    {
        public static StringFormat TextAlign = new StringFormat();
        //public static Color BackColor = ColorTranslator.FromHtml("#C4C4C4");
        public static SolidBrush SelectBrush = new SolidBrush(ColorTranslator.FromHtml("#3399FF"));
        public static Image OpenImg = null;
        public static Image CloseImg = null;
        public static Image NormalImg = null;
        static ToolBoxDraw() 
        {
            OpenImg = Image.FromFile("ToolBox/Image/Open.png");
            CloseImg = Image.FromFile("ToolBox/Image/Close.png");
            NormalImg = Image.FromFile("ToolBox/Image/Normal.png");
            TextAlign.Alignment = StringAlignment.Near;
            TextAlign.LineAlignment = StringAlignment.Center;
        }
    }
}
